package com.cw.response;

import com.alibaba.excel.annotation.*;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.*;
import com.baomidou.mybatisplus.extension.activerecord.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.*;
import java.util.*;
import lombok.*;
import lombok.experimental.*;

@Data
@ApiModel(value = "查看空闲床位返回结果")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@HeadRowHeight(20)
@ContentRowHeight(15)
public class DataSourceResponse extends Model<DataSourceResponse> {

    private static final long serialVersionUID = 8543880563660786811L;
    @ApiModelProperty(value = "日期")
    @ExcelProperty(value = {"日期"}, index = 0)
    @ColumnWidth(20)
//    @DateTimeFormat("yyyy-MM-dd")
//    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private String riqi;

    @ApiModelProperty(value = "科室名称")
    @ColumnWidth(35)
    @ExcelProperty(value = {"科室名称"}, index = 1)
    private String deptName;

    @ApiModelProperty(value = "科室编码")
    @ColumnWidth(11)
    @ExcelProperty(value = {"科室编码"}, index = 2)
    private String deptCode;

    @ApiModelProperty(value = "病区代码")
    @ColumnWidth(11)
    @ExcelProperty(value = {"病区代码"}, index = 3)
    private String nurseCellCode;

    @ApiModelProperty(value = "病区名称")
    @ColumnWidth(28)
    @ExcelProperty(value = {"病区名称"}, index = 4)
    private String nurseCellName;

    @ApiModelProperty(value = "编制内空床")
    @ExcelProperty(value = {"编制内空床"}, index = 5)
    private String freeCnt;

    @ApiModelProperty(value = "编制内床位")
    @ExcelProperty(value = {"编制内床位"}, index = 6)
    private String bedStand;

    @ApiModelProperty(value = "院区")
    @ExcelProperty(value = {"院区"}, index = 7)
    private String yard;

    @ExcelProperty(value = "集管床位空床数量",index = 8)
    private String jgFreeCnt;

    @ExcelProperty(value = "非集管床位空床数量",index = 9)
    private String fjgfreeCnt;

}
